glcontext: Add property annotations
authorMatthias Clasen <mclasen@redhat.com>
Thu, 25 Feb 2021 01:04:17 +0000 (20:04 -0500)
committerEmmanuele Bassi <ebassi@gnome.org>
Thu, 11 Mar 2021 16:37:32 +0000 (16:37 +0000)
 Connect properties, getters, and setters with annotations.

gdk/gdkglcontext.c

index adcd92eaf1c72cbed8ee105a843613288ace8b1f..7c3c0a0a7904e8a7f049f2bee55fc9d0f60b0716 100644 (file)
@@ -412,7 +412,7 @@ gdk_gl_context_class_init (GdkGLContextClass *klass)
   draw_context_class->surface_resized = gdk_gl_context_surface_resized;
 
   /**
-   * GdkGLContext:shared-context:
+   * GdkGLContext:shared-context: (attributes org.gtk.Property.get=gdk_gl_context_get_shared_context)
    *
    * The `GdkGLContext` that this context is sharing data with, or %NULL
    */
@@ -1154,7 +1154,7 @@ gdk_gl_context_get_surface (GdkGLContext *context)
 }
 
 /**
- * gdk_gl_context_get_shared_context:
+ * gdk_gl_context_get_shared_context: (attributes org.gtk.Method.get_property=shared-context)
  * @context: a `GdkGLContext`
  *
  * Retrieves the `GdkGLContext` that this @context share data with.